package com.exam.service;

import com.exam.pojo.Admin;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AdminServcie {

    Admin findById(int adminid);

    int insertById(Admin admin);

    int deleteById(int adminid);

    int updateById(Admin admin);

    List<Admin> getAdminAll();
}
